package com.onstar.cn.mag.dealer;

import java.util.List;

/**
 * @ClassName: AroundDealersEntity
 * @Description: POI实体 AroundDealers相关接口返回的Response实体
 * @author Xiaofeng Feng
 * @date 2015年8月11日 下午2:15:18
 */
public class AroundDealersEntity {

	/*
	 * {"cityCode":"SH","dealers":
	 * [{"dealerName":"ABC","distance":0.0,"cityCode":"SH","dealerBrand":"BUICK"
	 * ,"currentLocation": {"longitude":0.0,"latitude":0.0},
	 * "dealerCode":"ABC","companyName":"安吉星","telephone":"58000000",
	 * "address":"田林路3888号新业园0楼","cityName":"上海","postcode":"200000",
	 * "province":"SH","locationCoordinate":{"longitude":0.0,"latitude":0.0},
	 * "directionCoordinate":{"longitude":0.0,"latitude":0.0}},
	 * {"dealerName":"ABC","distance":200.0,"cityCode":"SH","dealerBrand":
	 * "BUICK", "currentLocation":{"longitude":34.555,"latitude":12.333},
	 * "dealerCode":"ABC","companyName":"安吉星","telephone":"58000000","address":
	 * "田林路3888号新业园1楼","cityName":"上海",
	 * "postcode":"200000","province":"SH","locationCoordinate":{"longitude":56.
	 * 777,"latitude":45.666},
	 * "directionCoordinate":{"longitude":56.777,"latitude":45.666}},
	 * {"dealerName":"ABC","distance":400.0,
	 * "cityCode":"SH","dealerBrand":"BUICK","currentLocation":{"longitude":69.
	 * 11,"latitude":24.666},
	 * "dealerCode":"ABC","companyName":"安吉星","telephone":"58000000","address":
	 * "田林路3888号新业园2楼",
	 * "cityName":"上海","postcode":"200000","province":"SH","locationCoordinate":
	 * {"longitude":113.554,"latitude":91.332},
	 * "directionCoordinate":{"longitude":113.554,"latitude":91.332}}],
	 * "pageable":{"pageNumber":0,"pageSize":3,"offset":0,"totalSize":3}}
	 */

	private String cityCode;
	private List<PreferredDealerEntity> dealers;
	private Pageables pageable;

	public String getCityCode() {
		return cityCode;
	}

	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}

	public List<PreferredDealerEntity> getDealers() {
		return dealers;
	}

	public void setDealers(List<PreferredDealerEntity> dealers) {
		this.dealers = dealers;
	}

	public Pageables getPageable() {
		return pageable;
	}

	public void setPageable(Pageables pageable) {
		this.pageable = pageable;
	}

}
